

//
//  VerButton.m
//  ZActionSheetDemo
//
//  Created by HuaYingJiTuan on 15/12/16.
//  Copyright © 2015年 HuaYingJiTuan. All rights reserved.
//
/**
 * 点击类型二弹出的view   取消上面
 */
#import "VerButton.h"

@implementation VerButton

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor colorWithRed:0.964 green:0.922 blue:0.888 alpha:1.000];
        self.titleLabel.textAlignment = NSTextAlignmentCenter;
        
        _lineView = [[UIView alloc]init];
        _lineView.backgroundColor = [UIColor grayColor];
        [self addSubview:_lineView];
    }
    return self;
}
- (void)layoutSubviews{
    [super layoutSubviews];
    _lineView.frame = CGRectMake(0, self.bounds.size.height - 0.5, self.bounds.size.width, 0.5);
}
@end
